<?php
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();

$app = PFactory::getApplication();

$show_prev = JRequest::getInt('show_prev', 0);
$show_prev = ($show_prev == 1 ? 0 : 1);
$app->setUserState('calendar_showprev', $show_prev);
OC_JSON::success(array("data" =>array()));
